<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/generic/taglibs.jsp"%>
<s:layout-render name="/WEB-INF/jsp/generic/layout.jsp">

	<s:layout-component name="pageContent">
		<div class="content home">

			<h2><fmt:message bundle="${bundle }" key="home.content.title" /></h2>

			<p><fmt:message bundle="${bundle }" key="home.content.p1" /></p>
			
			<jsp:include page="${contextPath }/WEB-INF/jsp/component/searchForm.jsp"></jsp:include>
			
			<p class="center"><fmt:message bundle="${bundle }" key="home.content.example.label" /></p>
			<p class="center"><em><fmt:message bundle="${bundle }" key="home.content.example.1" /></em></p>
			<p class="center"><em><fmt:message bundle="${bundle }" key="home.content.example.2" /></em></p>
			<p class="center"><em><fmt:message bundle="${bundle }" key="home.content.example.3" /></em></p>

			<c:if test="${empty user }">
				<p><fmt:message bundle="${bundle }" key="home.content.p2" /></p>
			</c:if>
			
			<%-- <s:form action="${actionBean.url }">
				<s:submit name="doRedirect">Redirect</s:submit>
			</s:form> --%>

			<%-- Pour réinitialiser les rôles et les membres : --%>
				<%-- 
			<p>
				<s:form action="${actionBean.url }">
					<s:submit name="resetRoles">Supprimer tous les rôles</s:submit> et rétablir les rôles par défaut
				</s:form>
			</p>
			<p>
				<s:form action="${actionBean.url }">
					<s:submit name="resetMembers">Réinitialiser les utilisateurs</s:submit> Supprime tous les utilisateurs et recrée un administrateur par défaut.
				</s:form>
			</p> --%>

		</div>
	</s:layout-component>

</s:layout-render>
